package cn.gbase.jiangsu.data.transfer.bean;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;

import cn.gbase.jiangsu.data.transfer.validation.annotation.Validations;

/**
 * 购物订单详情
 * 
 */
public class ProductBuyDetail extends BaseDto {

	private List<OrderDetail> odList;

	private Integer id;
    /**
     * 订单号       db_column: code 
	private String code;
    /**
     * 业主账号       db_column: user_id 
     */ 	
	private Integer userId;
    /**
     * 订单时间       db_column: create_time 
     */ 	
	private Date createTime;
    /**
     * 状态       db_column: status 
     */ 	
	private String status;
    /**
     * 代下订单账号ID       db_column: oprator_id 
     */ 		
	private Integer opratorId;
    /**
     * 配送方式       db_column: post_type 
     */ 		
	private String postType;
    /**
     * 订单金额       db_column: sell_price 
     */ 		
	private BigDecimal sellPrice;
    /**
     * 配送地址       db_column: address 
     */ 	
	private String address;
    /**
     * 备注       db_column: remark 
     */ 	
	private String remark;
    /**
     * 派送费用       db_column: delivery_price 
     */ 		
	private BigDecimal deliveryPrice;
    /**
     * 订单总金额       db_column: total_price 
     */ 	
	private BigDecimal totalPrice;
    /**
     * 支付类型       db_column: pay_type 
     */ 	
	private Integer payType;
	public List<OrderDetail> getOdList() {
		return odList;
	}
	public void setOdList(List<OrderDetail> odList) {
		this.odList = odList;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getOpratorId() {
		return opratorId;
	}
	public void setOpratorId(Integer opratorId) {
		this.opratorId = opratorId;
	}
	public String getPostType() {
		return postType;
	}
	public void setPostType(String postType) {
		this.postType = postType;
	}
	public BigDecimal getSellPrice() {
		return sellPrice;
	}
	public void setSellPrice(BigDecimal sellPrice) {
		this.sellPrice = sellPrice;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public BigDecimal getDeliveryPrice() {
		return deliveryPrice;
	}
	public void setDeliveryPrice(BigDecimal deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Integer getPayType() {
		return payType;
	}
	public void setPayType(Integer payType) {
		this.payType = payType;
	}
}
